<template>
  <el-row type="flex" class="row" justify="space-between"  align="middle">
    <!-- 部门名称 start -->
    <el-col :span="18">
      <slot name="name" ></slot>
    </el-col>
    <!-- 部门名称 start -->
    <!-- 功能区 start -->
    <el-col :span="6" >
      <el-row type="flex" justify="space-between">
        <slot name="manager"></slot>
        <el-dropdown >
          <span class="el-dropdown-link">
            操作<i class="el-icon-arrow-down"></i>
          </span>
          <el-dropdown-menu slot="dropdown">
            <slot name="operation"></slot>
          </el-dropdown-menu>
        </el-dropdown>
      </el-row>
    </el-col>
    <!-- 功能区 start -->
  </el-row>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.el-dropdown{
  margin-left: 10px;
}
.el-dropdown-link {
  cursor: pointer;
}
.row{
  width: 100%;
}
</style>